public class 方法测试 {
    public static void main(String[] args) {
        方法测试 tm = new 方法测试();
                tm.prin();
                tm.add(6,8);
                tm.add_2(5,5);
    }

    void  prin (){
        System.out.println("测试");
        System.out.println("测试1");
        System.out.println("测试2");

    }
    void add (int n1,int n2){
        int add_1 = n1+n2;
         System.out.println(add_1);
    }
    int add_2(int n1, int n2){
        int add_3 = n1+n2;
        System.out.println(add_3);
        return add_3;
    }

}

